/*
 * Autocompleter Emoxion
 * with Mootools
 * Manuel Garcia (thekeeper)
 * http://www.mgarcia.info
 * Version 0.9
 *
 * Copyright (c) 2007 Manuel Garcia
 * http://www.opensource.org/licenses/mit-license.php
 */ 

var Autocomplete = new Class({

	initialize: function (inp,url,options) {
		alert("initialize");
	},
	event: function () {
	},
	keyPress: function (key) {
	},
	move: function(where) {
	},
	start: function () {
	},
	post_data: function () {
	},
	update: function () {
	},
	filter: function(obj) {
		obj = obj.replace(/<[^>]*>/gi, "");
		obj = obj.replace(/<[^>]*\/gi>/, "");
		obj = obj.trim();
	  return obj;
	},
	 escape: function (txt) {
   		return txt.replace(/[.*+?^${}()|[\]\/\\]/gi, '\\$1');
	},
	fade: function (div) {
			$(div).setStyle('display','none');
	}
});